import request from "@/utils/request.js";

const baseUrl = '/admin/carryFee'
export const getCarryFeeListService = () => {
    return request({
        url: `${baseUrl}`,
        method: 'GET'
    })
}

export const updateCarryFeeService = (data) => {
    return request({
        url: `${baseUrl}`,
        method: 'PUT',
        data
    })
}

export const removeCarryFeeService = (id) => {
    return request({
        url: `${baseUrl}/${id}`,
        method: 'DELETE',
    })
}

export const addCarryFeeService = (data) => {
    return request({
        url: `${baseUrl}`,
        method: 'POST',
        data
    })
}
